<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>天气预报</title>
    <link rel="stylesheet" href="天气预报.css">
</head>
<body>
    <div class="demo">
       
    <div class="box">
        <div class="bg">
            <h1>天气查询</h1>
        </div>
        <div class="top">
            <input type="text" id="myInput" placeholder="请输入城市中文名">
            <button>查询</button>
        </div>
        <div class="bot">
            <div class="city">城市：</div>
            <div class="weather">天气：</div>
            <div class="temperature">温度:</div>
            <div class="humidity">湿度：</div>
            <div class="winddirection">风向：</div>
            <div class="windpower">风力：</div>
        </div>
    </div>
    </div>
    <script src="天气预报.js"></script>
</body>
</html>